<template id="popUp">
    <div class="popUp">
      <!--缴费成功或失败哦提示框-->

      <!--<div class="isShowingBox" v-show="isShowingBox"></div>-->
      <div class="circleProgress_wrapper" v-if="showPayInfo">
        <!--<div class="wrapper right">-->
        <!--<div class="circlr rightcircle"></div>-->
        <!--</div>-->
        <!--<div class="wrapper left">-->
        <!--<div class="circlr leftcircle"></div>-->
        <!--</div>-->
        <div class="payingLoding">
          <img src="../../../static/image/payingLoding.gif" alt="">
        </div>
        <div class="pic">
          <span></span>
          <img src="../../../static/image/success3.png" alt="" v-if="isSucess">
          <img src="../../../static/image/cry3.png" alt="" v-else>
          <!--<span class="paynow">正在支付...</span>-->
          <span  class="paySuccess" v-if="isSucess" style="font-weight: bold;color: #fff">支付成功</span>
          <span class="paySuccess" v-else style="font-weight: bold;color: #fff">付款失败</span>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
      props:['isShow'],
        data(){
            return {
              isDisabled:false,
              disClick:false,
              showPayInfo:true,
              isSucess:true,
              isShowingBox:false,

            }
        },
        methods: {},
      created:function () {
        alert(this.isShow)
      }
    }
</script>

<style scoped>
  @import "../../style/common.css";
  @import "../../assets/css/iconfont.css";
  /*弹出提示框开始*/
  .circleProgress_wrapper{
    width: 1.5rem;
    height: 1.5rem;
    background-color: #cbcbcb;
    position: fixed;
    left: 50%;
    top:50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-border-radius:0.1rem;
    -moz-border-radius:0.1rem;
    border-radius:0.1rem;


  }
  .payingLoding{
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    -webkit-animation: show_words 1s ease-in-out 1;
    -o-animation: show_words 1s ease-in-out 1;
    animation: show_words 1s ease-in-out 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

  }
  .payingLoding img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }
  @-webkit-keyframes show_words{
    0%,50%,90%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
  }
  @-webkit-keyframes show_pic{
    0%,50%,90%{
      opacity: 0;
    }
    100%{
      opacity:1;
    }
  }
  @-webkit-keyframes show_success{
    0%,50%,90%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
  }
  @-webkit-keyframes hiddenBox{
    0%,50%,99%{
      visibility: visible;
    }
    100%{
      visibility: hidden;
    }
  }
  .pic{
    width: 0.8rem;
    height: 0.8rem;
    position: absolute;
    left: 50%;
    top: 45%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    text-align: center
  }
  .pic img{
    width: 100%;
    height: 100%;
    -webkit-animation: show_pic 1.5s ease-in-out 1;
    -o-animation: show_pic 1.5s ease-in-out 1;
    animation: show_pic 1.5s ease-in-out 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

  }
  .pic .paynow{
    width: 100%;
    color: #666;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-animation: show_words .75s ease-in-out 1;
    -o-animation: show_words .75s ease-in-out 1;
    animation: show_words .75s ease-in-out 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .paySuccess{
    color: #333;
    -webkit-animation: show_success 1.5s ease-in-out 1;
    -o-animation: show_success 1.5s ease-in-out 1;
    animation: show_success 1.5s ease-in-out 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  /*弹出提示框结束*/
</style>
